Optimal. Leaf size=31 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} \left (x^2+1\right )}{\sqrt{b}}\right )}{2 \sqrt{a} \sqrt{b}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0605417, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} \left (x^2+1\right )}{\sqrt{b}}\right )}{2 \sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In] Int[x/(a + b + 2*a*x^2 + a*x^4),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 9.06517, size = 27, normalized size = 0.87 \[ \frac{\operatorname{atan}{\left (\frac{\sqrt{a} \left (x^{2} + 1\right )}{\sqrt{b}} \right )}}{2 \sqrt{a} \sqrt{b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x/(a*x**4+2*a*x**2+a+b),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0122694, size = 31, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} \left (x^2+1\right )}{\sqrt{b}}\right )}{2 \sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In] Integrate[x/(a + b + 2*a*x^2 + a*x^4),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.002, size = 26, normalized size = 0.8 \[{\frac{1}{2}\arctan \left ({\frac{2\,a{x}^{2}+2\,a}{2}{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x/(a*x^4+2*a*x^2+a+b),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x/(a*x^4 + 2*a*x^2 + a + b),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.278096, size = 1, normalized size = 0.03 \[ \left [\frac{\log \left (\frac{2 \, a b x^{2} + 2 \, a b +{\left (a x^{4} + 2 \, a x^{2} + a - b\right )} \sqrt{-a b}}{a x^{4} + 2 \, a x^{2} + a + b}\right )}{4 \, \sqrt{-a b}}, -\frac{\arctan \left (\frac{b}{\sqrt{a b}{\left (x^{2} + 1\right )}}\right )}{2 \, \sqrt{a b}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x/(a*x^4 + 2*a*x^2 + a + b),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.734623, size = 60, normalized size = 1.94 \[ - \frac{\sqrt{- \frac{1}{a b}} \log{\left (- b \sqrt{- \frac{1}{a b}} + x^{2} + 1 \right )}}{4} + \frac{\sqrt{- \frac{1}{a b}} \log{\left (b \sqrt{- \frac{1}{a b}} + x^{2} + 1 \right )}}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x/(a*x**4+2*a*x**2+a+b),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.542831, size = 28, normalized size = 0.9 \[ \frac{\arctan \left (\frac{a x^{2} + a}{\sqrt{a b}}\right )}{2 \, \sqrt{a b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x/(a*x^4 + 2*a*x^2 + a + b),x, algorithm="giac")
[Out]